package com.example.xn.xndemo.service;

import com.example.xn.xndemo.mapper.ClassInfoMapper;
import com.example.xn.xndemo.model.CourseInfo;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CourseInfoService {

    @Autowired
    ClassInfoMapper classInfoMapper;

    public List<CourseInfo> selectTest(){
        List<CourseInfo> list = classInfoMapper.queryBy();
        return list;
    }
}
